package org.springblade.upgrade.config.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.springblade.core.mp.base.BaseEntity;

/**
 * 数据模型
 *
 * @author qp
 * @version 2024-01-02
 */
@TableName("upgrade_package_backend_config")
@Data
public class PackageBackendConfig extends BaseEntity implements PackageConfig {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "保存地址")
    private String sysSaveDir;

    @ApiModelProperty(value = "保存地址")
    private String sysRunDir;

    @ApiModelProperty(value = "模块")
    private String sysModule;

    @ApiModelProperty(value = "启动脚本")
    private String sysStartShell;

    @ApiModelProperty(value = "停止脚本")
    private String sysStopShell;

    @ApiModelProperty(value = "脚本类型")
    private String shellType;

    @ApiModelProperty(value = "是否监控")
    private String needMonitor;
    @Override
    public String getModuleName() {
        return sysModule;
    }

}